module.exports = {
	
	
	
	




	
	
	//tips组件
	"SET_TIPS_CONFIG": function(state, conf) { //通过conf设置显示提示
		console.log(conf);
		for(var i in conf) {
			Vue.set(state.tipsConfig, i, conf[i]);
		}
	},
	"CLOSE_TIPS": function(state) { //关闭提示
		state.tipsConfig.show = false;
	},
	"AUTO_CLOSE": function(state, timeout) {
		clearTimeout(state.tipsConfig.tipsAutoCloseTimeout);
		state.tipsConfig.tipsAutoCloseTimeout = setTimeout(function() {
			state.tipsConfig.show = false;
		}, timeout);
	},
	
	//loading 公用
	"setLoading":function(state,obj){	
		state.loading.show = obj.show;
		
	},
	
	
	
	
	



}